.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  
  .login-form {
    width: 100%;
    max-width: 400px;
    padding: 40px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    
    .login-header {
      text-align: center;
      margin-bottom: 32px;
      
      h1 {
        font-size: 28px;
        font-weight: 600;
        color: #333;
        margin-bottom: 8px;
      }
      
      p {
        font-size: 16px;
        color: #666;
        margin: 0;
      }
    }
    
    .ant-form-item {
      margin-bottom: 24px;
    }
    
    .ant-input-affix-wrapper {
      height: 48px;
      border-radius: 6px;
      
      .ant-input {
        font-size: 16px;
      }
    }
    
    .ant-btn {
      height: 48px;
      font-size: 16px;
      font-weight: 500;
      border-radius: 6px;
    }
    
    .login-footer {
      text-align: center;
      margin-top: 24px;
      
      p {
        color: #999;
        font-size: 14px;
        margin: 0;
      }
    }
  }
}

.login-background {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 600px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-content {
  width: 100%;
  max-width: 400px;
  padding: 40px;
}

.login-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.login-form-forgot {
  float: right;
  color: #1890ff;
  text-decoration: none;

  &:hover {
    color: #40a9ff;
  }
}

.login-form-button {
  height: 48px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  background: linear-gradient(135deg, #1890ff 0%, #40a9ff 100%);
  border: none;
  transition: all 0.3s;

  &:hover {
    background: linear-gradient(135deg, #40a9ff 0%, #69c0ff 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3);
  }

  &:active {
    transform: translateY(0);
  }
}

// 响应式设计
@media (max-width: 768px) {
  .login-background {
    height: auto;
    min-height: 500px;
  }

  .login-content {
    padding: 20px;
  }

  .login-header {
    h1 {
      font-size: 24px;
    }
  }
}

// 动画效果
.login-container {
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

// 深色模式支持
@media (prefers-color-scheme: dark) {
  .login-card {
    background: rgba(30, 30, 30, 0.95);
    border-color: rgba(255, 255, 255, 0.1);
  }

  .login-header {
    h1 {
      color: #1890ff;
    }

    p {
      color: #ccc;
    }
  }

  .login-footer {
    border-top-color: #333;

    p {
      color: #999;
    }
  }
} 